Chiaming Yen's Cyber Universe

  • Home
    • SMap
    • reveal
    • blog
  • About
    • KMOL
    • MDE
    • ToDo
    • Google
      • Blogger
      • Youtube
  • Python
  • Portable
    • Lua 解譯
    • Wink
      • Add Wink
  • CMSiMDE
    • 建立網頁
    • 基本操作
      • 客製化
      • 編輯網頁內容
      • 上傳與引用檔案
      • 上傳與引用圖片
      • 嵌入程式碼
      • 嵌入影片檔
      • 檢視 STL
    • 置入 disqus
    • Gitlab 同步
    • Heroku 部署
    • Fossil SCM
    • 注意事項
      • 標題選擇
      • 靜態網頁 404
      • 動態網站錯誤
    • 延伸開發
    • 已知問題
      • IPv6
      • 上傳資料引用
      • MathJax
      • html 分頁
      • 靜態搜尋
      • template
      • 重複標題頁面
    • ajax
    • black
    • summernote
嵌入影片檔 << Previous Next >> 置入 disqus

檢視 STL

使用 Github 所提供的 STL viewer 嵌入 github.com/mdecourse/cmstemplate main branch 中 downloads 目錄中的 spikeball.stl

<script src="https://embed.github.com/view/3d/mdecourse/cmstemplate/main/downloads/spikeball.stl"></script>

將上列 script 標註放入頁面 HTML 內容後, 可以檢視 STL 零件檔案.

以 CMSiMDE 內建的 static/viewstl.html 檢視 STL 檔案:

使用 iframe 其 src 指向 STL 檔案的絕對 URL 路徑:

/static/viewstl.html?src=https://mde.tw/cmstemplate/downloads/spikeball.stl

就可以如下檢視 downloads/spikeball.stl


嵌入影片檔 << Previous Next >> 置入 disqus

Copyright © All rights reserved | This template is made with by Colorlib